package com.cssl.controller;

import com.hzj.pojo.OrderInfo;
import com.hzj.service.OrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


//@RestController
public class dd {
    @Autowired
    private OrderInfoService ois;


    @RequestMapping("/show")
    public List<OrderInfo> show(){
        List<OrderInfo> orderInfos = ois.patientTips();
        return orderInfos;
    }
}
